//package com.qiyang.log;
//
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
//import org.springframework.boot.SpringApplication;
//import org.springframework.boot.autoconfigure.SpringBootApplication;
//import org.springframework.cloud.client.loadbalancer.LoadBalanced;
//import org.springframework.context.annotation.Bean;
//import org.springframework.web.client.RestTemplate;
//
///**
// * Created on 2018/4/29.
// *
// * @author sehuaqi.
// * 描述：
// */
//@SpringBootApplication(scanBasePackages = {"com.qiyang.common.autoconfig", "com.qiyang.api.*", "com.qiyang.log"})
///**** ########## SpringCloud Feign 调用方式时启用以下注解 ########## *****/
////@EnableEurekaClient
////@EnableFeignClients({"com.qiyang.api.*"})
////@EnableHystrix
////@EnableHystrixDashboard
///**** ########## SpringCloud Feign 调用方式时启用以上注解 ########## *****/
//public class LogDubboApp {
//
//    private static Logger logger = LoggerFactory.getLogger(LogDubboApp.class);
//
//    public static void main(String args[]) {
//
//        //执行函数
//        SpringApplication.run(LogDubboApp.class, args);
//
//        logger.info("日志服务启动完成");
//
//    }
//
//    @Bean
//    @LoadBalanced
//    RestTemplate restTemplate() {
//        return new RestTemplate();
//    }
//}
